#ifndef DOUBAN_DOUBAN_GLOBAL_H
#define DOUBAN_DOUBAN_GLOBAL_H
#include <QObject>
#include <QMap>
#define DOUBAN_FILE_MAGICNUMBER 0xAABBCC
namespace Douban
{
	class DoubanUser;
	class MiniBlogEntry;
	class Doumail;
#ifdef DOUBAN_USE_64BIT_UINT
	typedef quint64 DoubanId;
#else
	typedef quint32 DoubanId;
#endif
	typedef QMap<DoubanId,Doumail*> Doumails;

	class DoubanDataSignalObject : public QObject
	{
		Q_OBJECT
		signals:
			void iconReceived();
		friend class DoubanUserData;
	};
}

#endif /* DOUBAN_GLOBAL_H_ */
